export default {
    getItemObject(key: string) : any {
        const userInfo = window.localStorage.getItem(key);

        if (userInfo != null && userInfo != "" && userInfo != undefined) {
            return JSON.parse(userInfo || "");
        }
        return "";
    },

    setItem(key : string, value : object) : any {
        window.localStorage.setItem(key, JSON.stringify(Object))
    }
}